{"componentChunkName":"component---node-modules-rocketseat-gatsby-theme-docs-core-src-templates-docs-query-js","path":"/scope","result":{"data":{"mdx":{"id":"99a92a26-8a04-5d3c-b536-3ac847b0fc51","excerpt":"The audit engagement encompassed a specific list of contracts that were present in the commit hash of the repository that was in scope. The tables below detail…","fields":{"slug":"/scope/"},"frontmatter":{"title":"Scope","description":"A specification of the audit scope, including metadata such as the project's language and deployed network.","image":null,"disableTableOfContents":null},"body":"var _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Scope\",\n  \"description\": \"A specification of the audit scope, including metadata such as the project's language and deployed network.\"\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"The audit engagement encompassed a specific list of contracts that were present in the commit hash of the repository that was in scope. The tables below detail certain meta-data about the target of the security assessment and a navigation chart is present at the end that links to the relevant findings per file.\"), mdx(\"h2\", {\n    \"id\": \"target\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#target\",\n    \"aria-label\": \"target permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Target\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Repository: \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://github.com/SteerProtocol/core-v2\"\n  }, \"https://github.com/SteerProtocol/core-v2\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Commit: 1eef5f69971e4d1ffa77012516646a38aa38517c\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Language: Solidity\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Network: Ethereum, Base, Arbitrum, Polygon\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Revisions: \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://github.com/SteerProtocol/core-v2/tree/1eef5f69971e4d1ffa77012516646a38aa38517c\",\n    \"title\": \"1eef5f69971e4d1ffa77012516646a38aa38517c\"\n  }, \"1eef5f6997\"), \", \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://github.com/SteerProtocol/core-v2/tree/4f6535a8a25ddd41794119143a2d73d01f4c6d34\",\n    \"title\": \"4f6535a8a25ddd41794119143a2d73d01f4c6d34\"\n  }, \"4f6535a8a2\"))), mdx(\"h2\", {\n    \"id\": \"findings-per-file\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#findings-per-file\",\n    \"aria-label\": \"findings per file permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Findings Per File\"), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-mermaid\"\n  }, \"sunburst_scope\\n    {\\\"PV1-01C\\\":{\\\"title\\\":\\\"Duplicate Validation of Initialization\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"WTS-01C\\\":{\\\"title\\\":\\\"Generic Typographic Mistake\\\",\\\"name\\\":\\\"Whitelist\\\"},\\\"GPN-01C\\\":{\\\"title\\\":\\\"Generic Typographic Mistake\\\",\\\"name\\\":\\\"GaussianPosition\\\"},\\\"PV1-02C\\\":{\\\"title\\\":\\\"Generic Typographic Mistake\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"PHR-01C\\\":{\\\"title\\\":\\\"Generic Typographic Mistakes\\\",\\\"name\\\":\\\"PluginHelper\\\"},\\\"GPN-01M\\\":{\\\"title\\\":\\\"Inconsistent Rounding of Constants\\\",\\\"name\\\":\\\"GaussianPosition\\\"},\\\"PV1-01M\\\":{\\\"title\\\":\\\"Incorrect Hook Implementations\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"PHR-02C\\\":{\\\"title\\\":\\\"Ineffectual Usage of Safe Arithmetics\\\",\\\"name\\\":\\\"PluginHelper\\\"},\\\"GPN-02C\\\":{\\\"title\\\":\\\"Inefficient Recalculations of Square Root Ratios\\\",\\\"name\\\":\\\"GaussianPosition\\\"},\\\"PV1-03C\\\":{\\\"title\\\":\\\"Inefficient Signature Encodings\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"PV1-04C\\\":{\\\"title\\\":\\\"Inexistent Error Messages\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"WTS-01S\\\":{\\\"title\\\":\\\"Inexistent Event Emissions\\\",\\\"name\\\":\\\"Whitelist\\\"},\\\"PV1-01S\\\":{\\\"title\\\":\\\"Inexistent Initialization Protection of Base Implementation\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"GPN-01S\\\":{\\\"title\\\":\\\"Inexistent Visibility Specifiers\\\",\\\"name\\\":\\\"GaussianPosition\\\"},\\\"PV1-05C\\\":{\\\"title\\\":\\\"Misleading Function Name\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"FP3-01C\\\":{\\\"title\\\":\\\"Optimization of Conditional Evaluations\\\",\\\"name\\\":\\\"FlatPosition3\\\"},\\\"FP3-02C\\\":{\\\"title\\\":\\\"Recalculation of Square Root Ratios at Ticks\\\",\\\"name\\\":\\\"FlatPosition3\\\"},\\\"PV1-06C\\\":{\\\"title\\\":\\\"Redundant Distinction of Conditionals\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"PHR-03C\\\":{\\\"title\\\":\\\"Redundant Evaluation of Conditional\\\",\\\"name\\\":\\\"PluginHelper\\\"},\\\"GPN-03C\\\":{\\\"title\\\":\\\"Redundant Parenthesis Statements\\\",\\\"name\\\":\\\"GaussianPosition\\\"},\\\"GPN-04C\\\":{\\\"title\\\":\\\"Redundant Type Casting\\\",\\\"name\\\":\\\"GaussianPosition\\\"},\\\"PV1-07C\\\":{\\\"title\\\":\\\"Repeated Constant Declarations\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"FP3-03C\\\":{\\\"title\\\":\\\"Repetitive Value Literal\\\",\\\"name\\\":\\\"FlatPosition3\\\"},\\\"PHR-04C\\\":{\\\"title\\\":\\\"Repetitive Value Literal\\\",\\\"name\\\":\\\"PluginHelper\\\"},\\\"PV1-08C\\\":{\\\"title\\\":\\\"Unresolved TODO Comment\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"PV1-09C\\\":{\\\"title\\\":\\\"Unused Contract Constants\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"GPN-05C\\\":{\\\"title\\\":\\\"Unutilized Constant\\\",\\\"name\\\":\\\"GaussianPosition\\\"},\\\"WTS-02C\\\":{\\\"title\\\":\\\"Variable Mutability Specifier (Immutable)\\\",\\\"name\\\":\\\"Whitelist\\\"},\\\"GPN-06C\\\":{\\\"title\\\":\\\"Variable Mutability Specifiers (Immutable)\\\",\\\"name\\\":\\\"GaussianPosition\\\"},\\\"GPN-02M\\\":{\\\"title\\\":\\\"Incorrect Denominator Precision\\\",\\\"name\\\":\\\"GaussianPosition\\\"},\\\"PHR-01M\\\":{\\\"title\\\":\\\"Incorrect Evaluations of Algebra Vault Balances\\\",\\\"name\\\":\\\"PluginHelper\\\"},\\\"PV1-02M\\\":{\\\"title\\\":\\\"Inexistent Validation of Deposit Limitations\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"PV1-03M\\\":{\\\"title\\\":\\\"Inexistent Validation of Fee Values\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"PV1-04M\\\":{\\\"title\\\":\\\"Insufficient Sanitization of Percentages\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"GPN-03M\\\":{\\\"title\\\":\\\"Non-Standard Addition of Extra Tick Range in Even Positions\\\",\\\"name\\\":\\\"GaussianPosition\\\"},\\\"PV1-05M\\\":{\\\"title\\\":\\\"Potentially Incorrect Deposit Mechanism\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"PV1-06M\\\":{\\\"title\\\":\\\"Rounding of Fee Distribution\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"PHR-02M\\\":{\\\"title\\\":\\\"Underestimation of Vault Balance\\\",\\\"name\\\":\\\"PluginHelper\\\"},\\\"GPN-04M\\\":{\\\"title\\\":\\\"Denominator Precision Loss of Sigma in Square Root Calculation\\\",\\\"name\\\":\\\"GaussianPosition\\\"},\\\"FP3-01M\\\":{\\\"title\\\":\\\"Improper Rounding of Nearest Tick\\\",\\\"name\\\":\\\"FlatPosition3\\\"},\\\"GPN-05M\\\":{\\\"title\\\":\\\"Inexistent Assignment of Relative Weight\\\",\\\"name\\\":\\\"GaussianPosition\\\"},\\\"GPN-06M\\\":{\\\"title\\\":\\\"Inexistent Boundaries of Ticks\\\",\\\"name\\\":\\\"GaussianPosition\\\"},\\\"PV1-07M\\\":{\\\"title\\\":\\\"Inexistent Distinction of Algebra Plugins\\\",\\\"name\\\":\\\"PluginV1\\\"},\\\"PHR-03M\\\":{\\\"title\\\":\\\"Inexistent Rounding of TWAP\\\",\\\"name\\\":\\\"PluginHelper\\\"},\\\"GPN-07M\\\":{\\\"title\\\":\\\"Loss of Denominator Precision in Exponent\\\",\\\"name\\\":\\\"GaussianPosition\\\"},\\\"GPN-08M\\\":{\\\"title\\\":\\\"Improper Rounding of Nearest Tick\\\",\\\"name\\\":\\\"GaussianPosition\\\"}}\\n    PluginV1.sol (PV1): [[],[\\\"PV1-01C\\\",\\\"PV1-02C\\\",\\\"PV1-01M\\\",\\\"PV1-03C\\\",\\\"PV1-04C\\\",\\\"PV1-01S\\\",\\\"PV1-05C\\\",\\\"PV1-06C\\\",\\\"PV1-07C\\\",\\\"PV1-08C\\\",\\\"PV1-09C\\\"],[\\\"PV1-02M\\\",\\\"PV1-03M\\\",\\\"PV1-04M\\\",\\\"PV1-05M\\\",\\\"PV1-06M\\\"],[\\\"PV1-07M\\\"],[]]\\n    Whitelist.sol (WTS): [[],[\\\"WTS-01C\\\",\\\"WTS-01S\\\",\\\"WTS-02C\\\"],[],[],[]]\\n    GaussianPosition.sol (GPN): [[],[\\\"GPN-01C\\\",\\\"GPN-01M\\\",\\\"GPN-02C\\\",\\\"GPN-01S\\\",\\\"GPN-03C\\\",\\\"GPN-04C\\\",\\\"GPN-05C\\\",\\\"GPN-06C\\\"],[\\\"GPN-02M\\\",\\\"GPN-03M\\\"],[\\\"GPN-04M\\\",\\\"GPN-05M\\\",\\\"GPN-06M\\\",\\\"GPN-07M\\\"],[\\\"GPN-08M\\\"]]\\n    PluginHelper.sol (PHR): [[],[\\\"PHR-01C\\\",\\\"PHR-02C\\\",\\\"PHR-03C\\\",\\\"PHR-04C\\\"],[\\\"PHR-01M\\\",\\\"PHR-02M\\\"],[\\\"PHR-03M\\\"],[]]\\n    FlatPosition3.sol (FP3): [[],[\\\"FP3-01C\\\",\\\"FP3-02C\\\",\\\"FP3-03C\\\"],[],[\\\"FP3-01M\\\"],[]]\\n\")), mdx(\"h2\", {\n    \"id\": \"contracts-assessed\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#contracts-assessed\",\n    \"aria-label\": \"contracts assessed permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Contracts Assessed\"), mdx(\"table\", null, mdx(\"thead\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"thead\"\n  }, mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"File\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": \"right\"\n  }, \"Total Finding(s)\"))), mdx(\"tbody\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://github.com/SteerProtocol/core-v2/blob/1eef5f69971e4d1ffa77012516646a38aa38517c/src/FlatPosition3.sol\"\n  }, \"src/FlatPosition3.sol (FP3)\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"right\"\n  }, \"4\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://github.com/SteerProtocol/core-v2/blob/1eef5f69971e4d1ffa77012516646a38aa38517c/src/GaussianPosition.sol\"\n  }, \"src/GaussianPosition.sol (GPN)\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"right\"\n  }, \"15\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://github.com/SteerProtocol/core-v2/blob/1eef5f69971e4d1ffa77012516646a38aa38517c/src/Adapters/Algebra/PluginV1.sol\"\n  }, \"src/Adapters/Algebra/PluginV1.sol (PV1)\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"right\"\n  }, \"17\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://github.com/SteerProtocol/core-v2/blob/1eef5f69971e4d1ffa77012516646a38aa38517c/src/libraries/PluginHelper.sol\"\n  }, \"src/libraries/PluginHelper.sol (PHR)\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"right\"\n  }, \"7\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://github.com/SteerProtocol/core-v2/blob/1eef5f69971e4d1ffa77012516646a38aa38517c/src/Whitelist.sol\"\n  }, \"src/Whitelist.sol (WTS)\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"right\"\n  }, \"3\")))));\n}\n;\nMDXContent.isMDXComponent = true;","headings":[{"depth":2,"value":"Target"},{"depth":2,"value":"Findings Per File"},{"depth":2,"value":"Contracts Assessed"}]}},"pageContext":{"slug":"/scope/","prev":{"label":"Introduction","link":"/"},"next":{"label":"Compilation","link":"/compilation"}}},"staticQueryHashes":["1954253342","2328931024","2501019404","973074209"]}